package com.ljs.vuetest.mapper;

import com.ljs.vuetest.bean.Student;

import java.util.List;

public interface StudentMapper {
   public  List<Student>  selall(int index,int limit);

    /**
     * 根据名字查询
     * @param name
     * @return
     */
    public  List<Student>   selbyname(String name);

    /**
     * 添加c学生
     * @param Student
     * @return
     */
    public  boolean  add(Student Student);

    /**
     * 登录的方法
     * @param name
     * @param password
     * @return
     */
    public  Student   login(String name,String password);
}
